package com.ruoyi.pointRecord.service;

import java.util.List;
import com.ruoyi.pointRecord.domain.PointsExchangeRecord;

/**
 * 积分兑换记录Service接口
 * 
 * @author amy
 * @date 2025-06-17
 */
public interface IPointsExchangeRecordService 
{
    /**
     * 查询积分兑换记录
     * 
     * @param id 积分兑换记录主键
     * @return 积分兑换记录
     */
    public PointsExchangeRecord selectPointsExchangeRecordById(Long id);

    /**
     * 查询积分兑换记录列表
     * 
     * @param pointsExchangeRecord 积分兑换记录
     * @return 积分兑换记录集合
     */
    public List<PointsExchangeRecord> selectAllPointsExchangeRecordList(PointsExchangeRecord pointsExchangeRecord);

    /**
     * 查询用户积分兑换记录
     *
     * @param pointsExchangeRecord 积分兑换记录
     * @return 积分兑换记录集合
     */
    public List<PointsExchangeRecord> selectUserPointsExchangeRecordList(PointsExchangeRecord pointsExchangeRecord);


    /**
     * 新增积分兑换记录
     * 
     * @param pointsExchangeRecord 积分兑换记录
     * @return 结果
     */
    public int insertPointsExchangeRecord(PointsExchangeRecord pointsExchangeRecord);

    /**
     * 修改积分兑换记录
     * 
     * @param pointsExchangeRecord 积分兑换记录
     * @return 结果
     */
    public int updatePointsExchangeRecord(PointsExchangeRecord pointsExchangeRecord);

    /**
     * 批量删除积分兑换记录
     * 
     * @param ids 需要删除的积分兑换记录主键集合
     * @return 结果
     */
    public int deletePointsExchangeRecordByIds(Long[] ids);

    /**
     * 删除积分兑换记录信息
     * 
     * @param id 积分兑换记录主键
     * @return 结果
     */
    public int deletePointsExchangeRecordById(Long id);
}
